//
//  FlatAnnotation.h
//  FinApp
//
//  Created by Victor Leandro Fernandez Rodrigo on 11/11/11.
//  Copyright (c) 2011 FIB-Fàcultat d'informàtica de Barcelona. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <MapKit/MapKit.h>

@interface FlatAnnotation : NSObject<MKAnnotation> {
  CLLocationCoordinate2D          coordinate;
  NSString                        *title;
  NSString                        *subtitle;
  UIImageView                     *imageView;
  int                             flatTag;
}

@property (nonatomic, readonly) CLLocationCoordinate2D coordinate;
@property (nonatomic, copy) NSString *title;
@property (nonatomic, copy) NSString *subtitle;
@property (nonatomic, retain) UIImageView *imageView;
@property int flatTag;

- (id)initWithCoordinate:(CLLocationCoordinate2D)coord title:(NSString *)titl andSubtitle:(NSString *)subtitl;

@end
